import { InitStateContextProps, ActionType, InitState } from './store';
type ReducerFn = (state: InitStateContextProps, action: ActionType) => InitStateContextProps;
export const reducer: ReducerFn = (state, action) => {
  console.log(state, action);
  switch (action.type) {
    // 用户相关数据处理
    case 'userinfo/change':
      return state
      break;
    default:
      return state;
  }
};
